<?php
/**
 * Created by PhpStorm.
 * User: 刘红波 <liuhb@cqjcdflzxsws.com>
 * Date: 2018/7/31
 * Time: 16:54
 */

namespace app\api\validate;


use think\Validate;

class WeUserCate extends Validate
{
    protected $rule = [
        'category_id'=>'require|integer'
    ];
    protected $message = [
        'category_id.require'=>'领域ID缺失',
        'category_id.integer'=>'领域ID错误'
    ];
}